﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     代理实体类库
//     返点实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;

namespace CL.Business.Entity
{
    /// <summary>
    /// UN_Rebate 实体
    /// </summary>
    [Table("UN_Rebate")]
    public class RebateEntity
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int RebateID { get; set; }
        /// <summary>
        /// 代理账号标识
        /// </summary>
        public int AccountID { get; set; }
        /// <summary>
        /// 销售金额
        /// </summary>
        public long Amount { set; get; }
        /// <summary>
        /// 返点数(万分比)
        /// </summary>
        public int RebateNum { set; get; }
        /// <summary>
        /// 有效时间
        /// </summary>
        public DateTime EfficaciousTime { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { set; get; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ModifyTime { set; get; }

        /// <summary>
        /// 结算基数
        /// </summary>
        public long SettlementNum { get; set; }

        /// <summary>
        /// 税点设置(万分比)
        /// </summary>
        public int TaxPoint { get; set; }
    }
}
